package com.hunan.yllxy.repostitory.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hunan.yllxy.repostitory.entity.UserDakaInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 刘华
 * @since 2025-06-20
 */
@Mapper
public interface UserDakaInfoMapper extends BaseMapper<UserDakaInfo> {

    UserDakaInfo findByContentId(String userId, String dakaContentId);

    List<UserDakaInfo> findByContentIdList(String userId, String dakaContentId);

    Page<UserDakaInfo> queryUserRecord(Page page, String userId, String activityId, String dakaContentId, String dakaOptionId);

    List<UserDakaInfo> queryUserRecordList(String userId, String activityId, String dakaContentId, String dakaOptionId);
}
